<template>
  <c-section title="产品配置清单">
    <c-permission-tabs>
      <el-tab-pane label="全屋定制" name="wholeHouse">
        <el-button type="primary">导出</el-button>
        <c-table-box hide-func :other-filters="otherFilters" :table-config="configTableConfig" />
      </el-tab-pane>
      <el-tab-pane label="整体橱柜" name="cabinet">
        <el-button type="primary">导出</el-button>
        <c-table-box hide-func :other-filters="cabinetOtherFilters" :table-config="configTableConfig" />
      </el-tab-pane>
    </c-permission-tabs>
  </c-section>
</template>
<script>
export default {
  name: 'ConfigTable',
  data() {
    return {
      configTableConfig: {
        interfacePath: '',
        setting: [
          {
            prop: '1',
            label: '采购单号'
          },
          {
            prop: '2',
            label: '采购订单进度'
          },
          {
            prop: '3',
            label: '产品柜号'
          },
          {
            prop: '4',
            label: '产品类型'
          },
          {
            prop: '5',
            label: '产品名称'
          },
          {
            prop: '6',
            label: '产品主色'
          },
          {
            prop: '7',
            label: '柜体数量'
          },
          {
            prop: '8',
            label: '采购类型'
          }
        ]
      },
      // 全屋
      otherFilters: [],
      // 橱柜
      cabinetOtherFilters: []
    }
  }
}
</script>
